Builder

class Builder

Constructors

Builder
Link copied to clipboard
open fun Builder()

Functions

build
Link copied to clipboard
open fun build(): CustomGeometrySourceOptions
cancelTileFunction
Link copied to clipboard
open fun cancelTileFunction(cancelTileFunction: CancelTileFunctionCallback): CustomGeometrySourceOptions.Builder
The callback that cancels a tile.
fetchTileFunction
Link copied to clipboard
open fun fetchTileFunction(fetchTileFunction: FetchTileFunctionCallback): CustomGeometrySourceOptions.Builder
The callback that provides data for a tile.
maxZoom
Link copied to clipboard
open fun maxZoom(maxZoom: Byte): CustomGeometrySourceOptions.Builder
A maximum zoom level, at which to create vector tiles.
minZoom
Link copied to clipboard
open fun minZoom(minZoom: Byte): CustomGeometrySourceOptions.Builder
A minimum zoom level, at which to create vector tiles.
tileOptions
Link copied to clipboard
open fun tileOptions(tileOptions: TileOptions): CustomGeometrySourceOptions.Builder
Tile options.